<h2>Edit profile for <i><?php echo htmlspecialchars($t['login_name']);?></i></h2>
<div class="form">
<form method="Post" action="<?php echo $t['submit_route'];?>">
<table class="properties-list">
<tr>
<td class="name">Login name</td>
<td class="value"><?php echo htmlspecialchars($t['login_name']); ?></td>
</tr>


<tr>
<td class="name">Display name</td>
<td class="value"><input type="text" name="display_name" id="fe-display_name" /></td>
</tr>

<tr>
<td class="name">E-mail</td>
<td class="value"><input type="text" name="email" id="fe-email" /></td>
</tr>

<tr>
<td class="name">Website URL</td>
<td class="value"><input type="text" name="website" id="fe-website" /></td>
</tr>

<tr>
<td class="name">Trusted user</td>
<td class="value"><div><input type="checkbox" name="trusted" id="fe-trusted"/> (comments from trusted users are passed without moderation)</div></td>
</tr>

<?php if ($t['user_type'] == 'plain'):?>
<tr>
<td class="name">New password</td>
<td class="value"><input type="password" name="new_password_1" id="fe-new_password_1" /></td>
</tr>

<tr>
<td class="name">New password again</td>
<td class="value"><input type="password" name="new_password_2" id="fe-new_password_2" /></td>
</tr>
<?php endif;?>

<tr>
<td class="name"></td>
<td class="value"><input type="submit" value="submit"/></td>
</tr>

<!-- 
<tr>
<td class="name"></td>
<td class="value"></td>
</tr>
-->
 
</table>
</form>
</div>